﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GmaWebService.Interfaces;

namespace GmaWebService.ConsoleText
{
    class Program
    {
        static void Main(string[] args)
        {
            GmaWebService.MediaAccessService service = new MediaAccessService();
            WebPictureDirectory dir = service.GetPictureDirectory(@"\\whs\Fotos");
            foreach (string directory in dir.SubDirectories)
            {
                Console.WriteLine(directory);
            }
            foreach (WebPicture pic in dir.Pictures)
            { 
                Console.Write(pic.DateTaken);
                Console.WriteLine(pic.Filename);
            
            }
            Console.Read();
        }
    }
}
